package com.inftech.mauto.core.entity;

import java.math.BigDecimal;

import com.mingsoft.base.entity.BaseEntity;

/**
 * 
 * ClassName: OrderGoods <br/>
 * Function: 订单商品实体类. <br/>
 * date: 2016年11月15日 下午3:19:59 <br/>
 *
 * @author puyf
 * @version
 * @since JDK 1.7
 */
public class OrderGoods extends BaseEntity {

	/**
	 * serialVersionUID
	 * 
	 * @since JDK 1.7
	 */
	private static final long serialVersionUID = -1479915471766018326L;

	/**
	 * 订单id
	 */
	private Integer orderId;

	/**
	 * 商品id
	 */
	private Integer goodsId;

	/**
	 * 商品单价
	 */
	private BigDecimal ogPrice;

	/**
	 * 商品数量
	 */
	private Short ogNum;

	/**
	 * 商品总额
	 */
	private BigDecimal ogTotalAmount;

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public BigDecimal getOgPrice() {
		return ogPrice;
	}

	public void setOgPrice(BigDecimal ogPrice) {
		this.ogPrice = ogPrice;
	}

	public Short getOgNum() {
		return ogNum;
	}

	public void setOgNum(Short ogNum) {
		this.ogNum = ogNum;
	}

	public BigDecimal getOgTotalAmount() {
		return ogTotalAmount;
	}

	public void setOgTotalAmount(BigDecimal ogTotalAmount) {
		this.ogTotalAmount = ogTotalAmount;
	}

}